home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / bipl.zip / PROGS.ZIP / UNIQUE.ICN < prev    next >
Text File  |  1992-11-26  |  549b  |  23 lines

  1. ############################################################################
  2. #
  3. #    File:     unique.icn
  4. #
  5. #    Subject:  Program to delete identical adjacent lines
  6. #
  7. #    Author:   Anthony Hewitt, modified by Bob Alexander
  8. #
  9. #    Date:     October 21, 1991
  10. #
  11. ###########################################################################
  12. #
  13. #     Filters out identical adjacent lines in a file.
  14. #
  15. ############################################################################
  16.  
  17. procedure main()
  18.    local s
  19.  
  20.    every write(s ~===:= !&input)
  21.  
  22. end
  23.